package com.zyt;/** * @email 99723251@qq.com * @author: zhangyangtao * @date: 2019/5/12 * @time: 3:25 PM */public class Test {    public static void main(String[] args) {        System.out.println(Runtime.getRuntime().freeMemory()/1024/1024);        System.out.println(Runtime.getRuntime().totalMemory()/1024/1024);    }}